//
//  OllTableViewCell.m
//  Article
//
//  Created by LONG on 16/4/22.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "OllTableViewCell.h"

@implementation OllTableViewCell


-(void)configModel:(MateModel *)model{
    [self.ad_img sd_setImageWithURL:[NSURL URLWithString:model.ad_img]];
    if (![model.ad_top isEqualToString:@"1"]) {
        self.ad_top.hidden = YES;
    }
    if (![model.ad_bottom isEqualToString:@"1"]) {
        self.ad_bottom.hidden = YES;
    }
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
